package com.baishui.beans;

import com.baishui.beans.factory.exception.TypeMismatchException;

/**
 * 类型转换器
 */
public interface TypeConverter {

	<T> T convertIfNecessary(Object value, Class<T> requiredType) throws TypeMismatchException;

}
